import ShowBlogs from "./components/ShowBlogs";
import AddBlog from "./components/AddBlog";
import SingleBlog from "./components/SingleBlog";
import ModelManager from "./components/ModelManager"
import Container from "./view/Container"
import Login from "./view/TheLogin"
export default [

  {
    path: '/',
    name: '模型管理',
    component: Container,
    children: [
      {path: 'model-mgr', name: '模型管理', component: ModelManager, },
      {path: 'data-mgr', name: '数据管理', component: SingleBlog, },
    ]
  },
  {
    path: '/',
    name: '数据管理',
    component: Container,
    children: [
      {path: 'dashboard', name: '模型管理', component: ModelManager, },
      {path: 'article', name: '数据管理', component: SingleBlog, },
    ]
  },
  {
    path: '/login',
    name: 'Login',
    component: Login
  }
  // {path: "/model-mgr", component: ModelManager},
  // {path: "/add", component: AddBlog},
  // //id为路由参数
  // {path: "/blog/:id", component: SingleBlog},
]
